home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Franz PD / Franz PD Disk #279 (1993)(Rhein-Sieg-Soft).zip / Franz PD Disk #279 (1993)(Rhein-Sieg-Soft).adf / ak_gen0-lib_V38.20.LHA / ak_gen0-library / Programmers.LHA / Programmers / Headers / ak_gen0_base.h next >
C/C++ Source or Header  |  1993-10-17  |  3KB  |  87 lines

  1. /* ************************************************************************ */
  2. /* AK_GEN0_BASE_H (Headerfile for use with the "ak_gen0.library")           */
  3. /* ************************************************************************ */
  4. /* (c) 1989-93 by Andreas Ralph Kleinert. All rights reserved.              */
  5. /* COMMERCIAL USE IS NOT ALLOWED WITHOUT SPECIAL PERMISSION BY THE AUTHOR ! */
  6. /* ************************************************************************ */
  7. /* Version        : V38.20                            */
  8. /* Last updated     : 17.10.1993                        */
  9. /* Compiler        : SAS/C V6.3                        */
  10. /* Compiler-Options : (smakefile)                                           */
  11. /* ************************************************************************ */
  12. /* Address        : Andreas R. Kleinert                    */
  13. /*              Grube Hohe Grethe 23                    */
  14. /*              D-57074 Siegen                        */
  15. /*              Germany                            */
  16. /* ************************************************************************ */
  17.  
  18. /* NOTE : Always make use of #pragmas, if possible and NEVER use stubs
  19.       for "ak_gen0.library", when using ANY kind of #pragmas under
  20.       SAS/C V6.00+
  21. */
  22.  
  23. #ifndef AK_GEN0_AK_GEN0_BASE_H
  24. #define AK_GEN0_AK_GEN0_BASE_H
  25.  
  26. #ifndef AK_GEN0_AK_GEN0_H
  27. #include <ak_gen0/ak_gen0.h>
  28. #endif /* AK_GEN0_AK_GEN0_H */
  29.  
  30.  
  31.  /* Note : names of structure entries have slighly changed in V38.1  */
  32.  
  33.  
  34. struct AKBase
  35. {
  36.  struct Library ak_LibNode;      /* PRIVATE.              */
  37.  APTR        ak_SegList;      /* PRIVATE.              */
  38.  APTR        ak_SysBase;      /* You have your own. ALWAYS.   */
  39.  APTR        ak_DOSBase;      /* Use it, but don't close it ! */
  40.  APTR        ak_IntuitionBase; /* Use it, but don't close it ! */
  41.  APTR        ak_GfxBase;      /* Use it, but don't close it ! */
  42.  
  43. #define ak_Flags ak_FileReqFlags  /* OBSOLETE              */
  44.  
  45.  ULONG        ak_FileReqFlags;  /* (see Flag definitions below) */
  46.  ULONG        ak_ModeReqFlags;  /* (see Flag definitions below) */
  47. };
  48.  
  49.  
  50.  /* Global Default FileRequester-Flags (AKBF_*), set in ak_FileReqFlags */
  51.  
  52.     /* A combination of AKBF_ALWAYS* flags is not possible,
  53.        because they represent opposite default settings.
  54.        If both flags are set, only one - guess, which - will
  55.        be recognized !
  56.      */
  57.  
  58. #define AKBF_ALWAYS_ASL   (1<<0)    /* Use ASL-Requester ALWAYS.
  59.                        At least TRY IT unter OS V1.2/V1.3.
  60.                      */
  61. #define AKBF_ALWAYS_OWN   (1<<1)    /* Use internal Requester ALWAYS.
  62.                        Even under OS V2.04+.
  63.                        (Use not suggested :
  64.                     Added to allow simple testing of the
  65.                     internal default requester under new
  66.                     OS versions, because if "asl.library"
  67.                     cannot be found, the default requester
  68.                     is used instead.)
  69.                       */
  70. #define AKBF_RESERVED_MASK (~(AKBF_ALWAYS_ASL | AKBF_ALWAYS_OWN) )
  71.                  /* Just reserved values. */
  72.  
  73.  
  74.  /* Global Default ModeRequester-Flags (AKBM_*), set in ak_ModeReqFlags */
  75.  
  76. #define AKBM_BIGOVERSCAN (1<<0)   /* Biggest Overscan-Values
  77.                      become selectable in the
  78.                      Requester.
  79.                      e.g. : HighRes 724x283 instead
  80.                          of 652x268
  81.                     */
  82. #define AKBM_RESERVED_MASK (~(AKBM_BIGOVERSCAN))
  83.                  /* Just reserved values. */
  84.  
  85.  
  86. #endif /* AK_GEN0_AK_GEN0_BASE_H */
  87.